package com.soup.lab.spring.aop.plain;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ApplicationContext;

@SpringBootTest
public class GameTestCase {
    @Autowired
    ApplicationContext context;

    @Test
    public void test01() {
        VideoGame bean = context.getBean(VideoGame.class);
        bean.play();
    }
}
